package com.magicode.cms.dao.impl;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.magicode.cms.dao.ISearchConditionDictionaryDao;
import com.magicode.cms.entiy.base.SearchConditionDictionary;
@Repository("searchConditionDictionaryDao")
public class SearchConditionDictionaryDaoImpl extends BaseDaoImpl<SearchConditionDictionary>implements ISearchConditionDictionaryDao {


	@Override
	public void deleteSearchConditionDictionarylist(String userid) {
		// TODO Auto-generated method stub
		String hql = " from "+SearchConditionDictionary.class.getName()+" t " +
				"  where  t.id = '"+userid+"'" ;
		List<SearchConditionDictionary> vphs = commonDaoService.getListByHQL(hql);
		commonDaoService.deleteAll(vphs);
	}
}
